#ifndef CONNECTOR_COMMON_H
#define CONNECTOR_COMMON_H
#include <stdint.h>
#include <stdio.h>
#include <cctype>
#include <winsock2.h>
#include <windows.h>
#include "../KABS_Scheduler_FSLog/log_common.h"

#define BUFFER_LEN 128

extern bool g_log_file_lock;
extern fsl::LogStream g_default_log;
extern fsl::LogStream g_board_send_log, g_board_recv_log;
/* Configuration of connector */
struct ConnectorConfigure
{
    const char *configFileName;
    char sendLogFileName[BUFFER_LEN];
    char recvLogFileName[BUFFER_LEN];
    char serverIP[BUFFER_LEN];
    char targetBoard[BUFFER_LEN];
    uint16_t portRequest; /* port to request, 0 ~ 65535*/
    uint16_t portComm; /* port to communicate */
};


#endif
/* EOF */
